package com.yx.changdao.service;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.yx.changdao.common.entity.Article;
import com.yx.changdao.common.entity.Problem;
import com.yx.changdao.common.entity.ProblemApply;
import com.yx.changdao.common.vo.ApplyProblemVO;

import java.util.List;


/**
 * @Description: <br/>
 * 文章
 * <p>
 * <br/>
 * @Auther: walter
 * @create 2020/04/10 14:48
 */
public interface ArticleService extends IService<Article> {
    /**
     * 查询  去掉content字段
     * @param queryWrapper
     * @return
     */
    List<Article> selectList(QueryWrapper<Article> queryWrapper);

    /**
     * 去掉content字段并分页
     * @param page
     * @param queryWrapper
     * @return
     */
    IPage<Article> pageNex(IPage<Article> page, QueryWrapper<Article> queryWrapper);
}
